<?php
/**
* @package   havefnu
* @subpackage havefnuportal
* @author    FoxMaSk
* @copyright 2008 FoxMaSk
* @link      http://www.havefnu.com
* @licence  http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file
*/

class teamCtrl extends jController {
    /**
    *
    */
    public $pluginParams = array(
        'index'=>array('auth.required'=>false),
        'admin'=>array('jacl2.rights.and'=>array('hfn.adminteam.index')),
        'admin_edit'=>array('jacl2.rights.and'=>array('hfn.adminteam.edit')),
    );
    
    function index() {
        $rep = $this->getResponse('html');
        $rep->body->assign("MAIN", jZone::get('havefnu~teams')) ; 
        return $rep;
    }
    
    function admin() {
        $rep = $this->getResponse('html');
        $rep->body->assign("MAIN", jZone::get('havefnu~teams_admin')) ; 
        return $rep;        
    }
    
    function admin_edit() {
        $rep = $this->getResponse('html');

        return $rep;        
    }
}

